package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dto.ArticleDto;
import com.heima.model.article.dto.ArticleHomeDto;
import com.heima.model.article.pojo.ApArticle;

import java.util.List;
import java.util.Map;

public interface ArticleHomeService extends IService<ApArticle> {
    public List<ApArticle> load(ArticleHomeDto dto,Short type);

    Map submit(ArticleDto articleDto);
}
